package com.itheima.pinda.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.pinda.entity.PdGoodsType;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PdGoodsTypeMapper extends BaseMapper<PdGoodsType> {

    List<PdGoodsType> selectByPage(Page<PdGoodsType> page,
                                   @Param("name") String name,
                                   @Param("truckTypeId") String truckTypeId,
                                   @Param("truckTypeName") String truckTypeName);

}
